package com.dong.ioc.javabased.condition;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * description
 *
 * @author Administrator 2021/09/06 14:43
 */
public class ConditionTest {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AppConfig.class);

        Hello hello = context.getBean(Hello.class);
        hello.hello();
    }
}
